﻿using Century.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Century.Business.CMS
{
    public interface ISecurityService
    {
        List<ActionModule> GetRoleActionModules(string role);
        List<ActionModule> GetAllActionModules();

        ActionModule GetActionModule(int actionModuleId);

        void AddActionModuleRole(string role, int actionModuleId);

        void RemveActionModuleRole(string role, int actionModuleId);

        void OnLoginSuccess();
    }
}
